|
|
|
|
|
|
|
control with which you are working. The two numbers in the first block indicate the horizontal and vertical positions, respectively, of the upper-left corner of the current object, as measured from the upper-left corner of the screen (if the current object is a form), or of the current form (if the current object is a control). The two numbers in the second block show the horizontal and vertical dimensions, respectively, of the current object. These numbers are not visible, however, when you are editing in a code window. |
|
|
|
|
|
|
|
|
|
Both the position and dimension information are given in twips. A twip is a unit of measure that Visual Basic uses to ensure that placement and sizing of objects is consistent on different types of screens. A twip is equal to 1/20 of a printer's point; approximately 1,440 twips make up a logical inch (the amount of screen space that would take up one inch when printed).  |
|
|
|
|
|
|
|
|
|
|
Let me add one final note about the toolbars. If you don't like having them located at the top of the screen, you can move any of them by clicking the double bars at the left edge and dragging to a new location. You can park a toolbar against any other edge of the desktop or leave them floating in the middle, as shown in Figure A.5. |
|
|
|
|
|
|
|
|
Figure A.5
Even the standard toolbar can float freely on the desktop. |
|
|
|
|
|
|
|
|
Organizing Visual Basic's Controls |
|
|
|
|
|
|
|
|
The controls that are used in Visual Basic are the heart and soul of the programs that you create. The controls allow you to add functionality to your program quickly and easily. You can find controls that allow you to edit text, connect to a database, retrieve file information from a user, or display and edit pictures. |
|
|
|
|
|